package com.erp.framework.pagination;

public interface PageControl {
	public int getTotalSize();
	public int getNumberOfPages();
	public boolean hasNextPage();
	public boolean hasPreviousPage();
	public int getPageNo();
	public int getLogicalPageNo();
	public int getLowerItemBound();
	public int getUpperItemBound();
	public Pageable getNextPage();
	public Pageable getPreviousPage();
	public Pageable getCurrentPage();
	public Pageable getPage(int page_index);
	public void release();
}
